package cn.green.mvc.entity;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.val;

/**
 * @author wang.yishu
 * @version 1.0
 * @className OrmTableEntity
 * @description TODO
 * @date 2025/5/29 11:19
 */
@Data
public abstract class OrmTableEntity {

    protected JSONObject data;

    public Object get(String fieldName) {
        return data.get(fieldName);
    }

    public void set(String fieldName, Object val) {
        data.put(fieldName, val);
    }

}
